/**
 * @author xinjie.txt
 * @time: 2020年7月9日 下午6:21:09
 */
package com.jiepu.exercise.primary.chapter5.exercise4;

import com.jiepu.exercise.primary.chapter5.exercise4.Circle;
import com.jiepu.exercise.primary.chapter5.exercise4.Rectangle;
import com.jiepu.exercise.primary.chapter5.exercise4.Shape;

/**
 * @Description:  图形 生成
 * @author xinjie.txt
 */
public class ShapeTest {

	public static void main(String[] args) {
		Shape[] s={new Shape(1,4), new Rectangle(1,2,3,4), new Circle(2,3,5)};
		for(int k = 0; k < s.length; k++){
			s[k].draw();
		}
	}
}
